{% extends 'base.html' %}
{% load i18n static %}
{% block content %}
{{ block.super }}
<h3>{% translate 'Password reset confirmation' %}</h3>
{% if validlink %}
<p>{% translate "Please enter your new password twice so we can verify you typed it in correctly." %}</p>
<form class="form-horizontal" method="POST" autocomplete="off"> {% csrf_token %}
  <fieldset class="col-md-offset-3 col-md-6">
    {% include "dojo/form_fields.html" with form=form %}
    <div class="form-group">
      <div class="col-sm-offset-1 col-sm-1">
        <button class="btn btn-success">{% translate 'Change my password' %}</button>
      </div>
    </div>
  </fieldset>
</form>
{% else %}
<div class="col-md-offset-3 col-md-6">
  <p>{% translate "The password reset link was invalid, possibly because it has already been used.  Please request a new password reset." %}</p>
</div>
{% endif %}
{% endblock %}